import styled from 'styled-components'
import img from '@img/all.png'

export const StyledColorPicker = styled.div`
	display: flex;
	align-items: center;
	.picker-icon {
		display: inline-block;
		height: 20px;
		width: 20px;
		background-image: url(${img});
		background-position: 0 -1984px;
		cursor: pointer;
		&:hover {
			background-position: -20px -1984px;
		}
	}
`
export const StyledColorPanel = styled.div`
	width: 170px;
	height: 195px;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	box-sizing: border-box;
	padding: 0 16px;
	border-radius: 6px;
	* {
		box-sizing: border-box;
	}
	.panel-title {
		font-size: 12px;
		height: 38px;
		padding-top: 10px;
	}
	ul .color-box {
		width: 15px;
		height: 15px;
		margin: 1px;
		float: left;
		cursor: pointer;
		border: 1px solid #ffffff;
		&.selected {
			border: 1px solid #3797cb;
		}
	}
`
